﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LeaderCCSLaserUI.Models
{
    public class BarcodePointDisp : DispBase
    {
        public int Id { get; set; }
        public HandEnum Hand { get; set; }
        public BarcodeEnum Kind { get; set; }
        public ProductEnum ProductIndex { get; set; }
        public double ExposureTime { get; set; }
        public bool UseLight1 { get; set; }
        public bool UseLight2 { get; set; }
        private double x;

        public double X
        {
            get { return x; }
            set
            {
                if (x != value)
                {
                    x = value;
                    OnPropertyChanged();
                }
            }
        }
        private double y;

        public double Y
        {
            get { return y; }
            set
            {
                if (y != value)
                {
                    y = value;
                    OnPropertyChanged();
                }
            }
        }
        private double z;

        public double Z
        {
            get { return z; }
            set
            {
                if (z != value)
                {
                    z = value;
                    OnPropertyChanged();
                }
            }
        }
    }
}
